For upload from Advanced Points Mod v.0.8.1 to v.0.8.2
------------------------------------------------------------
***Copy:***
All Files from root/ to root/
-------------------------------------------------------------
***In adm/style/acp_main.html find:***
<form id="action_user_form" method="post" action="{U_ACTION}">
				<dl>
					<dt><label for="action_user">{L_RESYNC_POSTCOUNTS}</label><br /><span>{L_RESYNC_POSTCOUNTS_EXPLAIN}</span></dt>
					<dd><input type="hidden" name="action" value="user" /><input class="button2" type="submit" id="action_user" name="action_user" value="{L_RUN}" /></dd>
				</dl>
			</form>

***Add After:***
<form id="action_points_form" method="post" action="{U_ACTION}">
				<dl>
					<dt><label for="action_user">{L_RESYNC_POINTS}</label><br /><span>{L_RESYNC_POINTS_EXPLAIN}</span></dt>
					<dd><input type="hidden" name="action" value="points" /><input class="button2" type="submit" id="action_points" name="action_user" value="{L_RUN}" /></dd>
				</dl>
			</form>
<form id="action_points_logs_form" method="post" action="{U_ACTION}">
				<dl>
					<dt><label for="action_user">{L_RESYNC_POINTSLOGS}</label><br /><span>{L_RESYNC_POINTSLOGS_EXPLAIN}</span></dt>
					<dd><input type="hidden" name="action" value="points_logs" /><input class="button2" type="submit" id="action_points_logs" name="action_user" value="{L_RUN}" /></dd>
				</dl>
			</form>			
----------------------------------------------------------------
***In includes/acp/acp_main.php find:***
/**
* @package acp
*/

***Add After:***
						//--[Points Modification]--
						$user->add_lang('mods/info_acp_point_mod');
						//--[Points Modification]--
------------------------------------------------------------------
***In includes/acp/acp_main.php find:***
					case 'purge_cache':
						$confirm = true;
						$confirm_lang = 'PURGE_CACHE_CONFIRM';
					break;

***Add After:***
						//--[Points Modification]--
					case 'points':
						$confirm = true;
						$confirm_lang = 'RESYNC_POINTS_CONFIRM';
					break;
					case 'points_logs':
						$confirm = true;
						$confirm_lang = 'RESYNC_POINTSLOGS_CONFIRM';
					break;					
						//--[Points Modification]--

-------------------------------------------------------------------
**In includes/acp/acp_main.php find:***
						add_log('admin', 'LOG_PURGE_CACHE');
					break;

***Add After:***
					//--[Points Modification]--
case 'points':
						if (!$auth->acl_get('a_points'))
						{
							trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
						}

						$db->sql_query('UPDATE ' . USERS_TABLE . " SET points = 0");

						add_log('admin', 'LOG_RESYNC_POINTSCOUNTS');
					break;
case 'points_logs':
						if (!$auth->acl_get('a_points'))
						{
							trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
						}

						switch ($db->sql_layer)
						{
							case 'sqlite':
							case 'firebird':
								$db->sql_query('DELETE FROM ' . POINTS_LOG_TABLE);
							break;

							default:
								$db->sql_query('TRUNCATE TABLE ' . POINTS_LOG_TABLE);
							break;
						}

						add_log('admin', 'LOG_RESYNC_POINTSLOGSCOUNTS');
					break;
					//--[Points Modification]--

------------------------------------------------------------------------------------------------
**In styles/prosilver/template/index_body.html  find:***
<!-- IF .points -->
	<h3>{L_MOST_RICH_USERS}</h3>
<p><!-- BEGIN points --><!-- IF not points.S_FIRST_ROW -->, <!-- ENDIF -->{points.USERNAME} ({points.POINT})<!-- END points --></p>
<!-- ENDIF -->


***Add After:***
<h3>{L_LW_LAST_DONORS}</h3>
<p>{LW_LAST_DONORS}</p>
------------------------------------------------------------------------------------------------
Clear the cache.


			

			





